package io.renren.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import io.renren.dao.DictEmployeeDao;
import io.renren.entity.DictEmployeeEntity;
import io.renren.service.DictEmployeeService;



@Service("dictEmployeeService")
public class DictEmployeeServiceImpl implements DictEmployeeService {
	@Autowired
	private DictEmployeeDao dictEmployeeDao;
	
	@Override
	public DictEmployeeEntity queryObject(String id){
		return dictEmployeeDao.queryObject(id);
	}
	
	@Override
	public List<DictEmployeeEntity> queryList(Map<String, Object> map){
		return dictEmployeeDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return dictEmployeeDao.queryTotal(map);
	}
	
	@Override
	public void save(DictEmployeeEntity dictEmployee){
		dictEmployeeDao.save(dictEmployee);
	}
	
	@Override
	public void update(DictEmployeeEntity dictEmployee){
		dictEmployeeDao.update(dictEmployee);
	}
	
	@Override
	public void delete(String id){
		dictEmployeeDao.delete(id);
	}
	
	@Override
	public void deleteBatch(String[] ids){
		dictEmployeeDao.deleteBatch(ids);
	}

	@Override
	public Integer searchNoCount(String stringCellValue) {
		return dictEmployeeDao.searchNoCount(stringCellValue);
	}
	
}
